package com.atguigu.guli.service.statistics.feign.ucenter;

import com.atguigu.guli.service.base.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("service-ucenter")
@RequestMapping("/api/ucenter/member")
public interface MemberFeign {

    /*
    远程调用获取每日的注册信息
     */
    @GetMapping("/getRegistNum")
    R getRegistNum(@RequestParam("day") String day);
}
